package cn.tl.org.service.impl;

import cn.tl.base.service.impl.BaseServiceImpl;
import cn.tl.org.domain.Type;
import cn.tl.org.mapper.TypeMapper;
import cn.tl.org.service.ITypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional(readOnly = true,propagation = Propagation.SUPPORTS)
public class TypeServiceImpl extends BaseServiceImpl<Type> implements ITypeService {
    @Autowired
    private TypeMapper typeMapper;

    @Override
    @Transactional
    public void patchDel(Long[] ids) {
        typeMapper.patchDel(ids);
    }
}
